package com.ykt.vo;

/**
 * 多媒体资源表
 * @author long.hua
 * @version 1.0.0
 * @since 2016-05-24 23:27
 */
public class MediaSourceVo extends BaseVo {

    private String bizType;// 业务类型
    private String bizSubType;// 业务子类型
    private int bizId;// 业务ID
    private String mediaType; //多媒体资源类型：图片IMAGE，视频VIDEO，直播LIVE
    private String cover; // 多媒体资源的背景图片、封面
    // 多媒体资源链接地址：
    // 1、录播的视频或图片为url地址，直接用该地址；
    // 2、直播的视频为摄像头表ID，播放视频，以摄像头表ID为参数再调接口：/camera/cameraDetail
    private String content;
    private int sort; // 排序


    public String getBizType() {
        return bizType;
    }

    public void setBizType(String bizType) {
        this.bizType = bizType;
    }

    public int getBizId() {
        return bizId;
    }

    public void setBizId(int bizId) {
        this.bizId = bizId;
    }

    public String getBizSubType() {
        return bizSubType;
    }

    public void setBizSubType(String bizSubType) {
        this.bizSubType = bizSubType;
    }

    public String getMediaType() {
        return mediaType;
    }

    public void setMediaType(String mediaType) {
        this.mediaType = mediaType;
    }

    public String getCover() {
        return cover;
    }

    public void setCover(String cover) {
        this.cover = cover;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getSort() {
        return sort;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("MediaSourceVo{");
        sb.append(super.toString()).append('\'');
        sb.append("bizType='").append(bizType).append('\'');
        sb.append(", bizSubType='").append(bizSubType).append('\'');
        sb.append(", bizId='").append(bizId).append('\'');
        sb.append(", mediaType='").append(mediaType).append('\'');
        sb.append(", cover='").append(cover).append('\'');
        sb.append(", content='").append(content).append('\'');
        sb.append(", sort=").append(sort);
        sb.append('}');
        return sb.toString();
    }
}
